
vim.cmd [[packadd packer.nvim]]

return require('packer').startup(function()
    -- Packer can manage itself
    use {'wbthomason/packer.nvim', opt = true}
  
    -- gruvbox theme
    use {
        'ellisonleao/gruvbox.nvim', 
        requires = {'rktjmp/lush.nvim'} 
    }
    -- monokai theme
    use {'crusoexia/vim-monokai'}

    -- nvim-tree
    use {
      'kyazdani42/nvim-tree.lua',
      requires = {'kyazdani42/nvim-web-devicons'}
    }

    -- bufferline (新增)
    use {
        'akinsho/bufferline.nvim', 
        requires = 'kyazdani42/nvim-web-devicons'
    }

    use { 'ludovicchabant/vim-gutentags' }

    --use {
    --    'nvim-telescope/telescope.nvim',
    --    requires = {
    --        {'nvim-lua/plenary.nvim', opt = false}, 
    --        {"nvim-lua/popup.nvim", opt = true}
    --    }
    use { 'mfussenegger/nvim-fzy' }

end)
